<?php 
session_cache_expire(999999999);
if(!isset($_SESSION)) 
{ 
	session_start(); 
}
include '../operations/connection.php';	

$idAssets=$_REQUEST['idAssets'];
$parts = explode('_', $idAssets);

$sql="DELETE FROM `assets` WHERE ";
for ($i=1;$i<count($parts);$i++)
	$sql.=" (`id`='".$parts[$i]."') OR";
$sql.=" (`id`='0')";	
mysql_query($sql);

mysql_close($connection);
?>